<?php /* Smarty version 2.6.14, created on 2012-12-12 21:13:29
         compiled from user_group_manage.tpl */
?><?php
SELanguage::_preload_multi(2000207,641,2000204,2000205,2000206,2000168,2000165,39,2000166,2000167,2000160);
SELanguage::load();
?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header_global.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 
 if ($this->_tpl_vars['result'] != 0): ?>

    <?php echo '
  <script type="text/javascript">
  <!-- 
  setTimeout("window.parent.location.reload(true);", "1000");
  //-->
  </script>
  '; ?>


  <br><div><?php echo SELanguage::_get($this->_tpl_vars['result']); ?></div>


<?php elseif ($this->_tpl_vars['subpage'] == 'waiting'): ?>

  <div style='text-align:left; padding-left: 10px; padding-top: 10px;'>
    <?php echo SELanguage::_get(2000207); ?>

    <br>

    <table cellpadding='0' cellspacing='0'>
    <tr><td colspan='2'>&nbsp;</td></tr>
    <tr>
    <td colspan='2'>
      <input type='button' class='button' value='<?php echo SELanguage::_get(641); ?>' onClick='window.parent.TB_remove();'>
    </td>
    </tr>
    </table>
  </div>


<?php elseif ($this->_tpl_vars['subpage'] == 'confirm'): ?>


  <div style='text-align:left; padding-left: 10px; padding-top: 10px;'>
    <?php echo SELanguage::_get(2000204); ?>

    <br>

    <table cellpadding='0' cellspacing='0'>
    <tr><td colspan='2'>&nbsp;</td></tr>
    <tr>
    <td colspan='2'>
      <table cellpadding='0' cellspacing='0'>
      <tr>
      <td>
      <form action='user_group_manage.php' method='POST'>
      <input type='submit' class='button' value='<?php echo SELanguage::_get(2000205); ?>'>&nbsp;
      <input type='hidden' name='task' value='accept_do'>
      <input type='hidden' name='group_id' value='<?php echo $this->_tpl_vars['group']->group_info['group_id']; ?>
'>
      </form>
      </td>
      <td>
      <form action='user_group_manage.php' method='POST'>
      <input type='submit' class='button' value='<?php echo SELanguage::_get(2000206); ?>'>&nbsp;
      <input type='hidden' name='task' value='reject_do'>
      <input type='hidden' name='group_id' value='<?php echo $this->_tpl_vars['group']->group_info['group_id']; ?>
'>
      </form>
      </td>
      </tr>
      </table>
    </td>
    </tr>
    </table>
  </div>


<?php elseif ($this->_tpl_vars['subpage'] == 'join'): ?>


  <div style='text-align:left; padding-left: 10px; padding-top: 10px;'>
    <?php echo SELanguage::_get(2000168); ?>

    <br>

    <form action='user_group_manage.php' method='POST'>

    <table cellpadding='0' cellspacing='0'>
    <tr><td colspan='2'>&nbsp;</td></tr>
    <tr>
    <td colspan='2'>
      <table cellpadding='0' cellspacing='0'>
      <tr>
      <td>
      <input type='submit' class='button' value='<?php echo SELanguage::_get(2000165); ?>'>&nbsp;
      <input type='hidden' name='task' value='join_do'>
      <input type='hidden' name='group_id' value='<?php echo $this->_tpl_vars['group']->group_info['group_id']; ?>
'>
      </form>
      </td>
      <td>
        <input type='button' class='button' value='<?php echo SELanguage::_get(39); ?>' onClick='window.parent.TB_remove();'>
      </td>
      </tr>
      </table>
    </td>
    </tr>
    </table>
  </div>



<?php elseif ($this->_tpl_vars['subpage'] == 'leave'): ?>


  <div style='text-align:left; padding-left: 10px; padding-top: 10px;'>
    <?php echo SELanguage::_get(2000166); ?>
    <?php if ($this->_tpl_vars['group']->user_rank == 2): ?><br><br><?php echo sprintf(SELanguage::_get(2000167), $this->_tpl_vars['group']->group_info['group_id']); 
 endif; ?>

    <br>

    <form action='user_group_manage.php' method='POST'>

    <table cellpadding='0' cellspacing='0'>
    <tr><td colspan='2'>&nbsp;</td></tr>
    <tr>
    <td colspan='2'>
      <table cellpadding='0' cellspacing='0'>
      <tr>
      <td>
      <input type='submit' class='button' value='<?php echo SELanguage::_get(2000160); ?>'>&nbsp;
      <input type='hidden' name='task' value='leave_do'>
      <input type='hidden' name='group_id' value='<?php echo $this->_tpl_vars['group']->group_info['group_id']; ?>
'>
      </form>
      </td>
      <td>
        <input type='button' class='button' value='<?php echo SELanguage::_get(39); ?>' onClick='window.parent.TB_remove();'>
      </td>
      </tr>
      </table>
    </td>
    </tr>
    </table>
  </div>


<?php endif; ?>







</body>
</html>